GIT
sending my code to GIT
GIT Status (if any changes hsow in red color)
GIT ADD .(all edited/u[dated files will be added to git)
GIT Commit "Message--what changes are"
GIT PUSH
After pushing code to the repository , i will open a pull request -PR and assign to lead/peer.
--------------------
getting GIT code to Local
updated code to local
GIT checkout "Master branch"
GIT PULL (we will get all updated code from git to local)
git checkout "local branch"
git merge "master branch"
if any conflicts()
GIT Status (if any changes hsow in red color)
GIT ADD .(all edited/u[dated files will be added to git)
GIT Commit "Message--what changes are"
GIT PUSH
After pushing code to the repository , i will open a pull request -PR and assign to lead/peer.
--------------------
getting GIT code to Local
updated code to local
GIT checkout "Master branch"
GIT PULL (we will get all updated code from git to local)
git checkout "local branch"
git merge "master branch"
if any conflicts()
Comments
Post a Comment