Skip to content

aws-clouddevops/git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

git

Common git commands

  1. git add filename
  2. git commit -m "Commit Msg"
  3. git push origin branchname
  4. git checkout branchname (To move to branch)
  5. git checkout -b branchName (Move to branch and crete of it does not exist)
  6. git branch
  7. git branch branchName(Creates the branch)
  8. git merge branchName ( to get the latest code)

git add . git commit -m "Message" git push origin feature/abc-123(name if the feature branch) Origin-is the name of the remote repo name (Short Name) origin moves the changes to the branch if its available. If the feature branch is not there it will be created and the changes are moved

git checkout (Is used to move to other branches)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published