Tuesday, May 8, 2018

Git Bitbucket Stage VS Unstage

According to Johannes Kilian, "the staging area is a container where git collects all changes which will be part of the next commit". Inside bitbucket, when you staging the file, you put the uncommited file into the staging area. "The next git commit will transfer all items from staging into your repository".

When you have multiple bugs to be fixed, you don't want to commit all your changes, you select the code you want to commit and do staging them. Through this way you will have a clean commit specific for one bug.

You can choose complete files, hunks (part of one file), or single line for staging.

https://community.atlassian.com/t5/Sourcetree-questions/Staged-vs-Unstaged/qaq-p/127916

2 comments:

  1. Very informative ! Indian cyber Army gives Best Ethical Hacking Training in noida in view of current industry principles that causes participants to anchor positions in their fantasy occupations at MNCs.

    ReplyDelete
  2. Breaking news ! Reserve Bank of India’s (RBI) deadline given to banks to snap the ties with entities that cope with crypto currencies finally ends. Ever since the ban was obligatory, there was sentiment that the crypto currency market can survive the RBI ban.

    ReplyDelete