All our projects are hosted in Github, so the first thing to do here is to open a new Github Account if you haven't already.
We have an equal split of team members who use the command line and some who prefer Github Desktop.
- For CLI there is no extra step, just make sure you are authenticated with Github using a PA token.
- Here you can download Github Desktop.
After you have finished working on your
feature branch and pushed to
origin, if you visit the Repo you will see this notification.
After clicking on Compare & pull request you can enter a name for your Pull Request and Description.
After merging the Pull Request please delete the branch.
This is useful when publishing a new package and you want to remove the commit history.
# clone the repo (skip if you already have a cloned repo locally)git clone email@example.com:USERNAME/REPOSITORY.gitcd REPOSITORY# remove all history locallyrm -rf .git# create a new local repogit init## if your default branch is master, switch to main.git branch -M main# add everythinggit add .git commit -m "First commit"# nuke history on GitHub (irreversable)git remote add origin firstname.lastname@example.org:USERNAME/REPOSITORY.gitgit push -u --force origin main