Most voted questions in Git & GitHub

0 votes
2 answers

Trying to change the password in gitlab's active directory

I think gitlab does not have write ...READ MORE

May 17, 2019 in Git & GitHub by Umer
360 views
0 votes
2 answers

How do I install Git on CentOS?

Hi, If you want to install Git 1 ...READ MORE

Feb 4 in Git & GitHub by MD
• 23,050 points
68 views
0 votes
1 answer

How do I install Git on windows?

Hey @Akash, follow these steps: Go to this ...READ MORE

Feb 19, 2019 in Git & GitHub by Nikhil
101 views
0 votes
1 answer

What all does a version control like git allow us to do?

Version control basically keeps a track of ...READ MORE

Feb 16, 2019 in Git & GitHub by Mariam
181 views
0 votes
2 answers

What's the difference between git push and git commit?

I installed ubuntu on vagrant and gave ...READ MORE

Jan 2, 2019 in Git & GitHub by Ali
• 10,670 points
292 views
0 votes
1 answer

How to install git on ubuntu?

Hey @Ali, installing Git on ubuntu is ...READ MORE

Dec 20, 2018 in Git & GitHub by Eric
153 views
0 votes
1 answer

Could I delete any of my commit which I had already push to central repository?

You can't delete, but you can always ...READ MORE

Dec 20, 2018 in Git & GitHub by Eric
73 views
0 votes
1 answer

Not able to push the file to the remote repository from the local repository.PFA for the same

Please let me know if you have set ...READ MORE

Dec 17, 2018 in Git & GitHub by Arohi
57 views
0 votes
1 answer

How to get the files from the local desktop to the local repository?

Hey @Ali, Follow these steps to transfer ...READ MORE

Dec 17, 2018 in Git & GitHub by Arohi
53 views
0 votes
3 answers

Git push vs git push origin

In simple words git push command updates ...READ MORE

Apr 23, 2019 in Git & GitHub by Hiran
96,461 views
0 votes
1 answer

rebasing vs merging

Merging and rebasing are written for the ...READ MORE

Dec 16, 2018 in Git & GitHub by Kiyara
325 views
0 votes
2 answers

What is git rebasing?

In Git, there are two main ways ...READ MORE

Aug 2, 2019 in Git & GitHub by Sirajul
• 53,080 points
264 views
0 votes
1 answer

How to see the different versions of the files that we have amended after we do the commit on git.

I'm not very sure if looking all ...READ MORE

Dec 16, 2018 in Git & GitHub by Kiyara
113 views
0 votes
1 answer

git error: RPC failed; curl 56 GnuTLS recv error

This is simple, you’re probably missing openssl ...READ MORE

Sep 26, 2018 in Git & GitHub by Tyrion anex
• 8,370 points
2,819 views
0 votes
2 answers

Delete a git branch locally and remotely

Deleting a remote branch: git push origin --delete ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 6,960 points
696 views
0 votes
3 answers

Change commit message after committing and before push.

You also can use git filter-branch for that. git filter-branch ...READ MORE

Sep 6, 2018 in Git & GitHub by lina
• 8,200 points
335 views
0 votes
2 answers

undo git add before commit

git status git will tell you what is ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 6,960 points
1,351 views
0 votes
2 answers

Detach/move subdirectory into separate git repo

git filter-branch --prune-empty --subdirectory-filter <YOUR_SUBDIR_TO_KEEP> master git push ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 6,960 points
104 views
0 votes
1 answer

Change a commit author for a specific commit

You can use interactive rebase. git rebase -i ...READ MORE

Aug 17, 2018 in Git & GitHub by Kalgi
• 51,850 points
836 views
0 votes
4 answers
0 votes
2 answers

Delete all git branches that have been merged

To delete all local branches that are ...READ MORE

Aug 21, 2018 in Git & GitHub by Nilesh
• 6,960 points
486 views
0 votes
2 answers

Add images to README.md on GitHub

This is the easiest way to go ...READ MORE

Aug 21, 2018 in Git & GitHub by Nilesh
• 6,960 points
4,529 views
0 votes
1 answer

Push from phpstorm to bitbucket

I think you haven’t committed the changes ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 51,850 points
286 views
0 votes
2 answers

VSCode “please clean your repository working tree before checkout”

One of the ways is to stash ...READ MORE

Apr 22, 2019 in Git & GitHub by Nikhil
16,677 views
0 votes
1 answer

git - show modified files, except for deleted (or renamed) files

You can use --diff-filter=dr to exclude delete ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 51,850 points
46 views
0 votes
2 answers

Reset commit of remote branch

Just fix the issue on your local, ...READ MORE

Aug 13, 2018 in Git & GitHub by Nilesh
• 6,960 points
181 views
0 votes
1 answer

gerrit-cherry-pick:fatal: 'origin' does not appear to be a git repository

The user account making that command does ...READ MORE

Aug 13, 2018 in Git & GitHub by Kalgi
• 51,850 points
382 views
0 votes
1 answer

Why is Git commit not functioning with Git Bash?

This occurs because you might have git ...READ MORE

Aug 7, 2018 in Git & GitHub by Sophie may
• 9,940 points
88 views
0 votes
1 answer

How to give a file execute mode permissions in Git?

You can easily do this in one ...READ MORE

Aug 6, 2018 in Git & GitHub by Sophie may
• 9,940 points
2,815 views
0 votes
1 answer

How to locate Git installation folder on a Mac OS X?

By default the git homepage installs into ...READ MORE

Aug 6, 2018 in Git & GitHub by Sophie may
• 9,940 points
5,586 views
0 votes
1 answer

Replace all code on Bluemix web IDE

I think you can try the following ...READ MORE

Aug 1, 2018 in Git & GitHub by Damon Salvatore
• 5,540 points
42 views
0 votes
1 answer

Error: git pull fails “unable to resolve reference” “unable to update local ref”

This happens when there are unnecessary files ...READ MORE

Jul 26, 2018 in Git & GitHub by Sophie may
• 9,940 points
4,637 views
0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

Jul 26, 2018 in Git & GitHub by Sophie may
• 9,940 points
1,597 views
0 votes
1 answer

Where to store credentials for devops?

You can use any of the various ...READ MORE

Jul 23, 2018 in Git & GitHub by Kalgi
• 51,850 points
177 views
0 votes
1 answer

Is there a way to remove a directory from git repository?

This is simple, just follow the commands ...READ MORE

Jul 13, 2018 in Git & GitHub by Sophie may
• 9,940 points
79 views
0 votes
1 answer

Is there a way to find out the URL that a local Git repository was originally cloned from?

Follow the below commands , the URL ...READ MORE

Jul 13, 2018 in Git & GitHub by Sophie may
• 9,940 points
87 views
0 votes
1 answer

Git export/import commits history

This should work $ cd dotnet_newrepo $ git filter-branch ...READ MORE

Jul 12, 2018 in Git & GitHub by Kalgi
• 2,620 points

edited Jul 12, 2018 by Kalgi 401 views
0 votes
1 answer

How to deploy Git (BitBucket) Capistrano to root directory

Here is what you should do.. The ...READ MORE

Jul 12, 2018 in Git & GitHub by Damon Salvatore
• 5,540 points
208 views
0 votes
1 answer

How to forcefully commit a file to Git even if the file is ruled as unchanged?

This is simple, just follow the below ...READ MORE

Jul 11, 2018 in Git & GitHub by Sophie may
• 9,940 points
178 views
0 votes
1 answer

How to perform a sonarqube analysis from drone.io in github?

DRONE_PULL_REQUEST  env variable holds the pull request ...READ MORE

Jul 6, 2018 in Git & GitHub by DareDev
• 6,850 points
743 views
0 votes
1 answer

How to solve the ‘Git commit -a error’?

This happens when no editor is set. ...READ MORE

Jul 5, 2018 in Git & GitHub by Tyrion anex
• 8,370 points
186 views
0 votes
2 answers

How to view the nested workflow of a local git repository?

The closest way to view branches in ...READ MORE

Aug 2, 2019 in Git & GitHub by Sirajul
• 53,080 points
157 views
0 votes
1 answer

what are these - @@--@@ in github

This statement is called the hunk header. You ...READ MORE

Jun 27, 2018 in Git & GitHub by anonymous
54 views
0 votes
1 answer

difference between git fetch and git pull

Both fetch and pull are used to ...READ MORE

Jun 27, 2018 in Git & GitHub by anonymous
3,010 views
0 votes
1 answer

error saying unmerged paths

Git merging means taking changes from one ...READ MORE

Jun 27, 2018 in Git & GitHub by anonymous
598 views
0 votes
1 answer

Trying to analyse Sonarqube from Drone.io in Github PRs

Just try the below steps.The DRONE_PULL_REQUEST environment variable has ...READ MORE

Jun 27, 2018 in Git & GitHub by shubham
• 6,910 points
304 views
0 votes
1 answer

How to allow the client to switch git branches on a website? (*without technical knowledge, for QA)

I think ,except the two options you ...READ MORE

Jun 17, 2018 in Git & GitHub by shubham
• 6,910 points
126 views
0 votes
2 answers

difference between git remote and git clone

git remote add just creates an entry in ...READ MORE

Aug 7, 2018 in Git & GitHub by Kalgi
• 51,850 points
2,591 views
0 votes
1 answer

How to do a re-merge into another branch in git

Seems like you want to rebase your ...READ MORE

May 7, 2018 in Git & GitHub by DareDev
• 6,850 points
424 views
0 votes
1 answer

meaning of check-in code in github

It simply means to upload code to ...READ MORE

Apr 29, 2018 in Git & GitHub by ajs3033
• 7,280 points
497 views