Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cheatsheet request: Github commands #503

Open
loveneetchahal opened this issue Mar 4, 2024 · 0 comments
Open

Cheatsheet request: Github commands #503

loveneetchahal opened this issue Mar 4, 2024 · 0 comments
Assignees
Labels
request Cheatsheet request

Comments

@loveneetchahal
Copy link

Git commands:

  1. Master branch => git pull 'Url'// Any other branch => git pull origin branch_name
  2. Create branch => git checkout -b branch-name
  3. Delete branch => git branch -d branchname
  4. Check changes => git status
  5. Add all the changed files => git add .
  6. Commit => git commit -m "message to be"
  7. Push => git push origin "branch_name" or git push origin HEAD
@loveneetchahal loveneetchahal added the request Cheatsheet request label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Cheatsheet request
Projects
None yet
Development

No branches or pull requests

2 participants