My scrapbook about almost anything I stumble upon in my tech world. If you find anything useful don't forget to give thumbs-up :)

Breaking

Wednesday, November 14, 2018

Let's Learn - Lifecycle of Status of Git Files


In previous post, we have started with the account creation, Basics Git Commands ( Git Basics #1 and Git Basics #2) and Setup of password less Git push (https://buff.ly/2DBrQPl), Continuing the same here with adding a new Git post in Let's Learn series where we will learn about different file status while making the changes into git repository.


©git-scm.com

There are 4 type of status of files under git repository.

Untracked:  New Files under git repo about which git don't aware of.

Unmodified: File has been pulled from remote repo to local and not has any modification
* when you pull any git repository to your local, all files are tracked and unmodified.

Modified: Files which have been changed from last pull

Staged: Files which have been modified from last commit and staged (git add command) for commit to remote repo.






Like the below page to get update  
Facebook Page      Facebook Group      Twitter Feed      Google+ Feed      Telegram Group     


Disclaimer

The postings on this site are my own and don't necessarily represent IBM's or other companies positions, strategies or opinions. All content provided on this blog is for informational purposes and knowledge sharing only.
The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of his information.