Most answered questions in Git & GitHub

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
4,356 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,668 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,610 points
3,584 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,610 points
20,483 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,610 points
24,401 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
358 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,610 points
18,291 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,610 points
9,619 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,026 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,610 points
1,005 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,610 points
835 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 1,968 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,139 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,610 points
12,627 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,339 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,055 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,002 views
+1 vote
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
5,938 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
1,788 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
949 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
909 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,231 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
9,636 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
816 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
970 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,320 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
480 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,223 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,165 views
–1 vote
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
• 7,340 points

edited Dec 15, 2023 by Khan Sarfaraz 775 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
542 views
0 votes
0 answers

Unable to negotiate with 40.74.28.9 port 22: no matching host key type found. Their offer: ssh-rsa

When using git within Azure DevOps repositories ...READ MORE

Dec 13, 2022 in Git & GitHub by Edureka
• 12,690 points
1,693 views
0 votes
0 answers

How can I save username and password in Git?

I want to do a push and ...READ MORE

May 24, 2022 in Git & GitHub by Kichu
• 19,050 points
627 views
0 votes
0 answers

What does "Changes not staged for commit" mean

As far as I know, to track ...READ MORE

May 23, 2022 in Git & GitHub by Kichu
• 19,050 points
1,943 views
0 votes
0 answers

git fatal Could not read from remote repository

I want to set git with http://danielmiessler.com/study/git/#website to manage ...READ MORE

May 20, 2022 in Git & GitHub by Kichu
• 19,050 points
3,151 views
0 votes
0 answers

How do I properly force a Git push?

I have cloned a remote non-bare main ...READ MORE

May 19, 2022 in Git & GitHub by Kichu
• 19,050 points
585 views
0 votes
0 answers

How do I use git reset --hard HEAD to revert to a previous commit

When I revert this commit: git reset --hard ...READ MORE

May 15, 2022 in Git & GitHub by Kichu
• 19,050 points
633 views
0 votes
0 answers

Git fetch remote branch

I am my co-worker are working on ...READ MORE

May 14, 2022 in Git & GitHub by Kichu
• 19,050 points
470 views
0 votes
0 answers

How do I resolve git saying "Commit your changes or stash them before you can merge"?

I made some changes to my local ...READ MORE

May 13, 2022 in Git & GitHub by Kichu
• 19,050 points
881 views
0 votes
0 answers

git - remote add origin vs remote set-url origin

I created a new repo: git init echo "# ...READ MORE

May 13, 2022 in Git & GitHub by Kichu
• 19,050 points
1,314 views
0 votes
0 answers

Could not open a connection to your authentication agent

I am getting this warning error: $ git ...READ MORE

May 8, 2022 in Git & GitHub by Kichu
• 19,050 points
1,165 views
0 votes
0 answers

Updates were rejected because the tip of your current branch is behind its remote counterpart

We have a branch called dev We access it ...READ MORE

May 5, 2022 in Git & GitHub by Kichu
• 19,050 points
8,577 views
0 votes
0 answers

How to upload a project to GitHub?

I have created a repository and now ...READ MORE

May 2, 2022 in Git & GitHub by Kichu
• 19,050 points
382 views
0 votes
0 answers

Within Azure DevOps, in a Scrum project, change the work type label from "product backlog item" to "user story"

The default hierarchy in ADO using the ...READ MORE

Apr 1, 2022 in Git & GitHub by Kichu
• 19,050 points
308 views
0 votes
0 answers

How to find and restore a deleted file in a Git repository?

Hi Team, I have one Git repository. I ...READ MORE

Dec 22, 2020 in Git & GitHub by akhtar
• 38,230 points
673 views
0 votes
0 answers

I run git tag command but its running continously

READ MORE

Aug 30, 2020 in Git & GitHub by Ravi
• 120 points
362 views
0 votes
0 answers

Git tutorial basics cases are explained here

Here is the link to the blog: https://www.edureka.co/blog/git-tutorial/ I ...READ MORE

Jun 4, 2020 in Git & GitHub by Vardhan
• 13,190 points
391 views
0 votes
0 answers

How to use p4merge tool in Git & GitHub?

Hi, Can someone tell me, how to use ...READ MORE

Jan 31, 2020 in Git & GitHub by akhtar
• 38,230 points
459 views
0 votes
0 answers

Difference between git rebase and git merge? Which among them is better to use? [closed]

Difference between git rebase and git merge? ...READ MORE

Nov 25, 2019 in Git & GitHub by anonymous
• 19,610 points

closed Nov 25, 2019 by Sirajul 741 views