Questions tagged as 'git'

3
answers

How to return the project to a specific commit?

Assuming a condition where, I have a project with 20 commits, and I decide for unexplained reasons to return some commits independently if I want to go back 4, 5 or 10, assuming the description of my commits are clear, I view my last commits usi...
asked by 06.06.2014 / 04:15
5
answers

What is the difference between a branch and a tag?

No git , what is the difference between branch and tag ?     
asked by 13.08.2015 / 16:48
3
answers

Why use Git for individual development?

In 2008 I asked a question in the SO about version control for solo developer and got an excellent response from Jon Skeet indicating the use of SVN. Unfortunately it has recently been closed and removed. Today Git is becoming ubiquitous. Thi...
asked by 13.12.2014 / 19:21
3
answers

How does git rebase work?

What happens when you override the following situation: Branch master with 3 commits (A, B and C). After commit C, I created a new branch named design. I made a commit (D) in the branch design and went back to the master branch. I mad...
asked by 18.08.2015 / 13:14
4
answers

In git, how do I edit the description of a committed commit?

In case you need to change the description of a commit , to make the description clearer, or specify which issue it is linked. I would like to know how to edit the message that comes with commit after it has been executed.     
asked by 17.12.2013 / 21:06
3
answers

How do I see which commits change a certain file?

I've implemented a new functionality for my program in a Func1.cpp file, in the Func1 branch. Then I created one more functionality - in the file Func2.cpp -, but I forgot to create in a separate branch Func2 . Now I'd like to sep...
asked by 12.12.2013 / 02:44
3
answers

How to edit an incorrect commit message in Git?

How to edit an incorrect commit message in Git? Can you cite examples?     
asked by 05.05.2015 / 17:50
2
answers

What would be best practices for commits in Git?

Are there best practices for committing commits and writing comments in these commits , for better communication and understanding during the software development process?     
asked by 30.04.2015 / 02:17
4
answers

When branches are useful in Git?

I am studying Git and from what I saw about branches I basically identified two main situations in which branches are useful: When we have a stable version of the code in the master branch and want to add a new functionality, we then create a...
asked by 30.01.2015 / 18:00
4
answers

How to delete a local and remote Git branch?

I want to delete a local branch and in my remote project in GitHub.     
asked by 05.05.2015 / 17:46