Most voted questions in Git & GitHub

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
884 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 3, 2019 in Git & GitHub by Ali
• 11,360 points
3,383 views
0 votes
1 answer

How to install git on ubuntu?

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

Dec 21, 2018 in Git & GitHub by Eric
975 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 21, 2018 in Git & GitHub by Eric
617 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
981 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
730 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
1,336 views
0 votes
3 answers

What is git rebasing?

HI. Rebase is nothing but a Git utility ...READ MORE

Sep 4, 2020 in Git & GitHub by SRI
1,194 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
702 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,700 points
7,456 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,220 points
2,142 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
• 7,060 points
796 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
• 52,360 points
3,094 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
• 7,060 points
2,698 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
• 7,060 points
19,960 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
• 52,360 points
1,911 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
50,706 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
• 52,360 points
5,233 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
• 7,060 points
1,422 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
• 52,360 points
1,853 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
• 10,620 points
3,892 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 7, 2018 in Git & GitHub by Sophie may
• 10,620 points
20,953 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 7, 2018 in Git & GitHub by Sophie may
• 10,620 points
25,429 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,980 points
528 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
• 10,620 points
18,756 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
• 10,620 points
10,327 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
• 52,360 points
1,214 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 14, 2018 in Git & GitHub by Sophie may
• 10,620 points
1,188 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 14, 2018 in Git & GitHub by Sophie may
• 10,620 points
1,028 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,680 points

edited Jul 12, 2018 by Kalgi 2,214 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,980 points
1,381 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
• 10,620 points
13,824 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,890 points
2,564 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,700 points
2,305 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
• 59,230 points
1,547 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
2,280 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
2,052 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
• 7,340 points
1,136 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
• 7,340 points
1,090 views
0 votes
3 answers

difference between git remote and git clone

HI.... GIT REMOTE add just creates an entry in ...READ MORE

Jul 11, 2020 in Git & GitHub by anonymous
23,135 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,890 points
2,417 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,300 points
10,505 views
0 votes
1 answer

Git in DevOps

DevOps is an approach to improve the ...READ MORE

Apr 27, 2018 in Git & GitHub by QueenBee
• 1,820 points
1,025 views
0 votes
1 answer

Git & GitHub

Even though their names sound the same, ...READ MORE

Apr 26, 2018 in Git & GitHub by DragonLord999
• 8,450 points
1,238 views
0 votes
1 answer

Git pull vs Git Fetch

The objective of both these commands is ...READ MORE

Apr 26, 2018 in Git & GitHub by DragonLord999
• 8,450 points
1,551 views
0 votes
1 answer

Configure Git and GitHub

In version control with Git, we deal ...READ MORE

Apr 26, 2018 in Git & GitHub by DragonLord999
• 8,450 points
718 views
0 votes
1 answer

Git origin not found

For this to work, you need to ...READ MORE

Apr 25, 2018 in Git & GitHub by DragonLord999
• 8,450 points
1,387 views
0 votes
1 answer

Version control as source to gitlab

The steps I'm going to tell you ...READ MORE

Apr 23, 2018 in Git & GitHub by ajs3033
• 7,300 points
1,345 views
0 votes
1 answer

Can I programmatically access gitlab secrets hash?

The newer versions of gitlab do support ...READ MORE

Mar 29, 2018 in Git & GitHub by DareDev
• 6,890 points
670 views