Most viewed questions in Git & GitHub

0 votes
3 answers

Git push vs git push origin

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

Apr 23 in Git & GitHub by Hiran
25,531 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 in Git & GitHub by Nikhil
5,087 views
0 votes
4 answers
0 votes
4 answers

error cloning remote repo 'origin'

ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Could ...READ MORE

Jun 3 in Git & GitHub by Sirajul
• 25,420 points
3,193 views
+1 vote
3 answers

Cloning the Git Repository on Eclipse (Transport Error)

File/Import... Select dialog * Git/Projects from Git * click next Select ...READ MORE

Jul 23, 2018 in Git & GitHub by Kalgi
• 40,460 points
2,346 views
+1 vote
5 answers

ERROR: 'git' is not recognized as an internal or external command.

You need to make sure git.exe is ...READ MORE

May 7 in Git & GitHub by Yesha
2,049 views
+1 vote
4 answers

GIT plugin in jenkins not able to connect to GIT repository

This looks like a git configuration issue, ...READ MORE

Oct 25, 2018 in Git & GitHub by Alia
1,589 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,530 points
1,357 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,270 points
1,211 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
1,092 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,880 points
1,083 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,530 points
925 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
• 40,460 points
646 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,530 points
598 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,880 points
589 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,810 points
394 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,380 points
253 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
• 40,460 points
220 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,280 points
220 views
+1 vote
1 answer

What ENTRYPOINT commands are needed in the dockerfile that adds php files into a container

Hope you are doing good! In this step, ...READ MORE

Dec 16, 2018 in Git & GitHub by Kiyara
200 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,890 points
189 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
186 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 168 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,380 points
154 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,530 points
151 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
• 40,460 points
137 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 in Git & GitHub by Mariam
134 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,810 points
134 views
+1 vote
1 answer

Git: Remove committed file after push

check out the previous (unchanged) state of ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 40,460 points
133 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
127 views
0 votes
2 answers

What is git rebasing?

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

Aug 2 in Git & GitHub by Sirajul
• 25,420 points
116 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,110 points
116 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,810 points
113 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
• 40,460 points
111 views
+1 vote
0 answers

Give full access permission to another user in GitHub

How do I give full access permission ...READ MORE

May 15 in Git & GitHub by Umer
109 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
107 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 in Git & GitHub by Ali
• 10,430 points
106 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,880 points
102 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,510 points
98 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
• 40,460 points
81 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
77 views
0 votes
1 answer

Having problem in Github and remote Git repo with production and development code

I think you could start with this. The ...READ MORE

Apr 10, 2018 in Git & GitHub by shubham
• 6,890 points
70 views
0 votes
1 answer

How to add a remote git repository in Jenkins

Follow these steps: Step 1 Go to Manage ...READ MORE

May 23 in Git & GitHub by Alok
66 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 in Git & GitHub by Sirajul
• 25,420 points
66 views
0 votes
1 answer
+3 votes
1 answer

Git vs Mercurial

I'm going to put down pros and ...READ MORE

Sep 20, 2018 in Git & GitHub by lina
• 8,110 points
65 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,810 points
64 views
+1 vote
2 answers

Git Commands

This command basically adds all your changes ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 40,460 points
60 views
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,880 points
59 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,270 points
58 views