Trending questions in Git & GitHub

+1 vote
1 answer

How to force “git pull” to overwrite local files?

Hi@akhtar, First, you need to download the latest from ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
1,883 views
0 votes
2 answers

fatal: refusing to merge unrelated histories.

Try, git pull origin master --allow-unrelated-histories READ MORE

Aug 1, 2020 in Git & GitHub by Sasi
5,686 views
0 votes
1 answer

I want to create a repository on folder level in Git. Is this possible?

That is possible but ideally, you should ...READ MORE

Sep 28, 2020 in Git & GitHub by Mudit
701 views
0 votes
2 answers

Are the commands git stash apply and git stash pop the same?

The key difference in is the fact ...READ MORE

Jun 17, 2020 in Git & GitHub by Cameron
• 140 points
9,268 views
0 votes
1 answer

How to clone all remote branches in Git?

Hi@akhtar, You can use the git clone command ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
1,393 views
+1 vote
1 answer

How to remove untracked files from the current Git working tree?

Hi@akhtar, If you have thousands of file then ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
1,236 views
0 votes
1 answer

How to delete a remote Git tag?

Hi@MD, It is very simple to delete a ...READ MORE

Sep 4, 2020 in Git & GitHub by akhtar
• 38,260 points
1,125 views
+1 vote
1 answer

How do I rename a local Git branch?

Hi@akhtar, You can rename your branch name. Sometimes ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
722 views
0 votes
1 answer

error: Failed to merge in the changes. hint: Use 'git am --show-current-patch' to see the failed patch Patch failed at 0001 b1

Hi@akhtar, You got this error because you have ...READ MORE

May 11, 2020 in Git & GitHub by MD
• 95,460 points
5,667 views
0 votes
1 answer

How to clone seperate folder individually rather than the whole repository from GitHub?

Hi@akhtar, I don't think you can do that ...READ MORE

Aug 27, 2020 in Git & GitHub by MD
• 95,460 points
661 views
0 votes
1 answer

What is the difference between remote add origin vs remote set-url origin in git?

Hello, If you want to add a new ...READ MORE

May 27, 2020 in Git & GitHub by Niroj
• 82,840 points
4,593 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
525 views
0 votes
1 answer

How can I retrieve previous version data in Git & GitHub!!?

Hi@akhtar, You can use reset command to do ...READ MORE

Jul 19, 2020 in Git & GitHub by MD
• 95,460 points
4,851 views
0 votes
1 answer

fatal: The current branch master has no upstream branch

Hi@akhtar, You got this error, because you did ...READ MORE

Apr 30, 2020 in Git & GitHub by MD
• 95,460 points
4,124 views
0 votes
1 answer

error: The branch 'dev1' is not fully merged.If you are sure you want to delete it, run 'git branch -D dev1'.

Hi@akhtar, When you create one new branch in ...READ MORE

May 10, 2020 in Git & GitHub by MD
• 95,460 points
3,104 views
0 votes
1 answer

error: RPC failed; result=18, HTTP code = 200KiB | 5.00 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF

Hi@akhtar, In your case buffer size of git ...READ MORE

Apr 10, 2020 in Git & GitHub by MD
• 95,460 points
4,089 views
0 votes
3 answers

Can anyone explain the git workflow?

HI. The following will help you -Git Workflow Step ...READ MORE

Sep 23, 2020 in Git & GitHub by SRI
1,484 views
+2 votes
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
• 52,350 points
24,256 views
0 votes
1 answer

How to configure git send-email in local system?

Hi@akhtar, To use git send-email service you have ...READ MORE

May 4, 2020 in Git & GitHub by MD
• 95,460 points
2,377 views
0 votes
1 answer

Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: .

Hi@akhtar, You may need to upgrade/install the Net::SMTP::SSL ...READ MORE

May 4, 2020 in Git & GitHub by MD
• 95,460 points
2,217 views
0 votes
4 answers
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,150 points
601 views
0 votes
1 answer

How to share images in GitHub from local system?

Hi@akhtar, You can follow the below steps to ...READ MORE

May 7, 2020 in Git & GitHub by MD
• 95,460 points
1,391 views
0 votes
1 answer

How to merge with squash in Git?

Hi@akhtar, If you want to merge your data ...READ MORE

May 13, 2020 in Git & GitHub by MD
• 95,460 points
762 views
0 votes
1 answer

How to create branch in GitHub from my local Git repo?

Hi@akhtar, To sync your existing branch in GitHub, ...READ MORE

May 7, 2020 in Git & GitHub by MD
• 95,460 points
885 views
0 votes
1 answer

Implement automation between Git and GitHub.

Hi@akhtar, Every Git repository has a .git/hooks folder with a ...READ MORE

May 4, 2020 in Git & GitHub by MD
• 95,460 points
951 views
0 votes
1 answer

How to merge data between Git branches?

Hi@akhtar, You can merge your data between Git ...READ MORE

May 10, 2020 in Git & GitHub by MD
• 95,460 points
663 views
0 votes
1 answer

How to roll back to previous version in Git?

Hi@akhtar, You can roll back your previous version ...READ MORE

Apr 29, 2020 in Git & GitHub by MD
• 95,460 points
1,076 views
+1 vote
1 answer

why we need to add at staging area before commit??

Hi@akhtar, The staging area is like a rough draft space, ...READ MORE

Jul 19, 2020 in Git & GitHub by MD
• 95,460 points
727 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, 2019 in Git & GitHub by Alok
13,650 views
0 votes
1 answer

Can anyone provide git realtime scenarios?

You work in a team. You are ...READ MORE

Feb 6, 2020 in Git & GitHub by Sirajul
• 59,230 points
2,272 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,690 views
0 votes
1 answer

Automatic merge failed; fix conflicts and then commit the result

Hi@Hasid, There are two types of merging in ...READ MORE

Feb 2, 2020 in Git & GitHub by MD
• 95,460 points
1,638 views
0 votes
1 answer

How can I set ssh key in GitHub?

Hi@akhtar, First you have to generate key using ...READ MORE

Feb 4, 2020 in Git & GitHub by MD
• 95,460 points
903 views
0 votes
1 answer

git merge: Fast forwarding??

Hi@Hasid, In Git & GitHub, there is a ...READ MORE

Feb 2, 2020 in Git & GitHub by MD
• 95,460 points
826 views
0 votes
1 answer

How merge works in Git & GitHub!!!??

Hi@Hasid, In Git & GitHub merge concept comes ...READ MORE

Jan 31, 2020 in Git & GitHub by MD
• 95,460 points
815 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,260 points
626 views
0 votes
1 answer

What are the steps to work on any production issue in git?

Let's go through the steps to understand ...READ MORE

Nov 26, 2019 in Git & GitHub by Sirajul
• 59,230 points
1,482 views
0 votes
1 answer

Recovering a git branch

Check out the latest commit to this ...READ MORE

Nov 26, 2019 in Git & GitHub by Sirajul
• 59,230 points
1,270 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 976 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
21,048 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
19,829 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
20,028 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,239 views
0 votes
1 answer

Migrate from SVN to Git

Hey @Hannah, follow these steps: Create authors file ...READ MORE

Oct 29, 2019 in Git & GitHub by Payal
834 views
0 votes
0 answers
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,868 views
0 votes
2 answers

How do I install Git on CentOS?

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

Feb 4, 2020 in Git & GitHub by MD
• 95,460 points
1,057 views
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
2,550 views