Wednesday, 25 January 2017

Writing files to the new branch using GIT

Writing files to the new branch using GIT

·         In git bash type pull command


·         We can see the new branch name got pulled to local.

·         For changing the branch we can use checkout command as shown below.


·         For pushing file to branch type add, commit and push command as shown below.

o    $ git add file name
o    $ git commit -m “Commitment you want to give
o    $ git push


·         We can see new file got pushed into the branch.



No comments:

Post a Comment