Git

Introduction

Today I’m going to share a git flow with the following qualities:

  1. In development, you could make arbitrary commits.

  2. After testing, you could turn the arbitrary commits which are more friendly in development into commits compliant with production standard.

  3. The content of two branches are exactly the same, however, with totally different commit history.

Read More


Sometimes after pushing a new commit, we realise that there seems to be something wrong.

Don’t panic. In this case we could use git revert to cancel the commit.

Now let me illustrate it as follows:

Read More

Hello everyone, It’s Ray!

Today I am going to share with you how to use git tag to specify a reversion number

After we complete a series of small functions, it could mean that we are going to release a new reversion. For example, think about the online games that you’ve played.

Read More

Hello It’s Ray!

Today I’m going to share with you how to configure basic information of Git.

Okay now let’s add a new code on our example file as follows:

Read More

Hello everyone, It’s Ray!

Today I am going to share with you some detail in git log

Firstly, take a look on the image below:

Read More

Do you think it’s extremely troublesome to use git add every time before we want to make a commit? Let’s try git commit -am

Hello everyone. It’s Ray!

Today I am going to share how to simplify git add and git commit, let’s welcome git commit -am

Read More

Hello everyone, it’s Ray. Today I’m going to share why Git is so a lot required.

Firstly, have you once encountered that situation that something comes up when you are coding, it could be that your mom calls you, or even more serious that you forget to pick up your girlfriend.

Read More

Hello everyone! It’s Ray.

As mentioned in my the article I posted last time, Git is kind of an integral tool to coders.
Today I’m going to share the basics of Git.

At the first, let’s create an example folder, it could be my-git-repository.

Read More

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×