Friday 31 July 2020

git rebase onto master example





Here's a good #git rebase onto master tutorial for #DevOps professionals. #DevOpsTools #git #GitHub #GitLab #BitBucket #cameronmcnz #theserverside

git rebase merge



Here's how you do a git rebase merge #git #github #gitlab #bitbucket #devops #devopstools #cameronmcnz #theserverside

git rebase from master to branch example



Here's an example of how to rebase from master to a branch. #git #github #gitlab #bitbucket #cameronmcnz #theserverside

git rebase to master example



Here's how to rebase a branch to master. #git #github #devops #devopstools #cameronmcnz #theserverside

git rebase open example



Stay away from the git rebase onto command unless you really know what you're doing.

interactive git rebase -i example





Here’s an interactive git rebase -i example for those who want to squash commits and amend commit messages. #devops #git #github #gitlab #bitbucket #devopstools #cameronmcnz #theserverside

How to git squash commits with rebase



Here's how to do an interactive rebase and squash your git commits. #github #git #gitlab #devops #devopstools #cameronmcnz #theserverside

git undo commits example

revert a Git commit example

Thursday 30 July 2020

Find and use a GitHub repository URL

How to rename a GitHub repository



Here's a tutorial on how to change the name of a GitHub repository.

How to clone a GitHub repository tutorial



A nice GitHub tutorial on the clone command.

How to delete a GitHub repo





Here's you to delete a GitHub repo

create a GitHub repository example





Just a GitHub create repository example.

How to change your sudo alias to please



Your terminal window will look much nicer if you add please as sudo alias.

Use the git log command in Ubuntu's BASH terminal



Here's how to use the git log command and pretty things up. The git log command example runs on Ubuntu 20 and all commands are issued in the terminal or BASH shell.

A little git pretty example with custom strings.





Are you keeping track of these Git tutorials? This git log pretty example shows you how to make your logs look handsome.

How to display a git log graph



Here we continue the git log tutorials with one about the git log graph.

Looking for a oneline git log tutorial?





A different take on the git long. This one shows you how to use the oneline command.

How to you format your git logs?




Here are a few examples of how to pretty up your git logs and format them.

Wednesday 29 July 2020

Here a git clone depth 1 tutorial



Not sure if it's a tutorial or just an example, but it does demonstrate how to do a git clone of depth 1.

How to do a shallow git clone



Just some great information on how to do a shallow clone in git.

An example of how to use the git clone with a tag





Just another Git tutorial in the series. This one shows you how to git clone a tag.

Here's how to clone git into a specific directory.





Sometimes when doing continuous integration you want to specify the name of the directory in which Git clones into. In this tutorial you find out how to specify a different name for the directory git clone uses.