Skip to content

Instantly share code, notes, and snippets.

@pawarherschel
Created October 8, 2022 14:46
Show Gist options
  • Save pawarherschel/9247db785a7282624f34790963afb437 to your computer and use it in GitHub Desktop.
Save pawarherschel/9247db785a7282624f34790963afb437 to your computer and use it in GitHub Desktop.

Git rules

Before starting ANY work

  1. git pull -a

And then start your work.

Saving your work

  1. git add .
  2. git commit -m "<message here>"
  3. git push
  • Save changes often
  • Use atleast semi-descriptive names
  • When you press ctrl+s, commit your changes
  • If youre unsure about anything, commit your changes

Ending work

  1. git add .
  2. git commit -m "ending work
  3. git push

Adding changes from Development branch

  1. git rebase development

Others

Ask either Herschel or Aryan

@aaryannipane
Copy link

wow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment