Questions tagged as 'git'

1
answer

Delete a Git branch both locally and remotely

   Original question: Delete a Git branch both locally and remotely by Matthew Rankin I want to delete a branch both locally and at the branch of my remote project on Github. Deleted local branch successfully $ git branch -D bugfix...
asked by 23.12.2015 / 22:00
2
answers

Hot fix between two remote git

I have two remote git repositories, one is test and the other is production git remote -v produccion https://[email protected]/deploy/pr1.git (fetch) produccion https://[email protected]/deploy/pr1.git (push) test https:/...
asked by 17.05.2017 / 20:32
2
answers

Can I create a new Git branch from a previous "commit"?

I am doing some regression tests looking for an error that I introduced in a project, basically cloning the current repository, eliminating x commits and trying to see where it appeared in error ... I wanted to explore other alternatives. T...
asked by 12.10.2017 / 11:35
3
answers

How to install Git on Kali Linux or Ubuntu?

what would be the lines of code that would have to run as in Kali Linux, as in Ubuntu. how to know if I have git installed in both Ubuntu and Kali Linux. I know that the commands are the same in Kali as in Ubuntu, but I have that little doubt...
asked by 18.06.2017 / 23:05
2
answers

What is the .gitkeep file for?

I had the doubt, since I found in a library that I downloaded a file .gitkeep , which was empty. Although I was looking in the GIT documentation I could not find the use of it. Someone knows if it is used for something or was only creat...
asked by 29.05.2017 / 21:14
3
answers

I can not "push" from Git

I want to send my code to my remote repository but I have a problem when doing push from my Git console. Once I have added all my income, my password https : git remote add origin https://github.com/... then it is necessary to d...
asked by 14.12.2017 / 04:45
2
answers

"commit your changes before" after a conflict

I tried to do a git cherry-pick , but it failed with a conflict: $ git cherry-pick master error: could not apply 456190d... Mejoro el post hint: after resolving the conflicts, mark the corrected paths hint: with 'git add <paths>' o...
asked by 18.01.2016 / 23:05
1
answer

fatal: The current branch NOMBRERAMA has not upstream branch

I am doing a game and I corrected some bugs in a branch that I created especially for it called "FixBugs", I made a commit in this branch when I already managed to correct them. But I find the following message when I want to do the push:   ...
asked by 13.12.2018 / 14:03
1
answer

git bash error: / mingw64 / bin / git: Argument list too long when executing "git add *"

I am working on a project and I am creating the initial version by adding the base files. The problem comes when I try to add all the files in the folder (I previously created the file .gitignore with the corresponding) with the command git ad...
asked by 07.03.2018 / 23:08
1
answer

I can not merge branch again with git after discard commit

I made a merge of a branch to master and later I realized that this branch had changes that I did not want. I have discarded the commit of that merge with: git revert -m 1 commit_hash Now I need to re-merge that branch to m...
asked by 28.03.2018 / 09:49