Blog

Add a new blog
May 25

add new code to new github repo

…or create a new repository on the command line $ echo "# your_project_git" >> README.md $ git init $ git add README.md $ git commit -m "first commit" $ git branch -M main $ git remote add origin git@github.com:yourusername/your_project_git.git $ git push -u origin main …or push an existing repository from the command line $ git remote add origin git@github.com:yourusername/your_project_git.git $ git branch -M main $ git push -u origin main NOTE: ...

December 6

Git tagging

To create a tag on your current branch (or with message), run this: $ git tag {tag-name} or, $ git tag -a {tag_name} -m "message"      #If you want to include a description with your tag, add -a to create an annotated tag: This will create a local tag with the current state of the branch you are on. When pushing to your...

December 6

Git branch

You’ve decided that you’re going to work on feature_12 as an example. To create a new branch and switch to it at the same time, you can run the git checkout command with the -b switch: $ git checkout -b feature_12 Switched to a new branch "feature_12" This is shorthand for: $ git branch feature_12 $ git checkout feature_12 After you are done with your branch...

Send us a message. We will reply as soon as we can.