Skip to content

lqtruong/git-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Helpful Git Commands to Know

Command Purpose
git clone <url> Clone a new git to local machine
git branch status List all branch status
git checkout -b <branch-name> Checkout & create new branch from standing branch
git checkout -b <local branch-name> origin/<remote branch name> Checkout & create new branch from origin remote branch
git push -d <remote_name> <branch_name> Push changes to remote branch
git branch -d <branch_name> Delete a branch
git branch -vv See all verbose and upstream for all branches
git branch --set-upstream-to origin/<branch> Set upstream to remote branch from local standing branch
git remote add origin <git url> Add remote git into local

About

Helpful Git Commands For Developers To Know

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published