Questions tagged as 'git'

1
answer

It seems that Git already took into account the files added in .gitignore

I do not want to add .csv files in my repositiorio github so I've written in .gitignore : # Compiled source # ################### *.csv But I answered the terminal: mike@mike-thinks:~/Data/on_2018_04_25_16_43_17$ git push ori...
asked by 15.05.2018 / 19:33
0
answers

Retrieve lost commit from GIthub [closed]

I have a very serious problem. Working in my repository have lost commits , and I need to return the repo to a specific commit . It is a repository of a simple web that I was doing. The API shows the commit that I want to return (see...
asked by 12.11.2016 / 03:07
2
answers

push origin HEAD error

I did git clone to a repository hosted on github: $ git clone https://github.com/USUARIO/REPOSITORIO.git Then I did a git fetch --all to move to the branch dev : $ git fetch --all $ git checkout dev To make sure I w...
asked by 12.11.2016 / 01:17
2
answers

Git broken: git add. gives error: short read No such file or directory

I do not know why but at a time when I tried to add my progress to my deposit I had: (MoodEnv) mike@mike-thinks:~/Programing/Rasa/Moodbot$ git add . Bus error (core dumped) Then I try again but it tells me that a file already exists: (Moo...
asked by 30.05.2018 / 14:31
2
answers

Correct way to start a project in Git [closed]

There is a project in Git which I have to modify. What would be the difference between: Make a fork of the project, then do a pull, work local and then push it not fork, just pull, work local and then push
asked by 12.03.2018 / 21:31
1
answer

Delete all branches except the master

In my project I have created many branches. After a fusion or merge request ( merge request ) I delete the branch that I merged with the master on GitHub but the branch stays my laptop. I know I can erase them one by one, but is there any...
asked by 05.04.2017 / 17:58
2
answers

Overwrite a local file with the content it has in the source repository

I want to get the contents of the source of a file to write about my local changes. How can I do it from the git console?     
asked by 26.12.2016 / 16:36
1
answer

Android Studio and Bitbucket

It turns out that I did some bad things in my Android Studio code and I have mixed everything without being able to sort it, in my repository I have a copy of the ordered code. How do I take it to Android Studio? Because if I do a pull...
asked by 18.04.2016 / 05:02
1
answer

How to ignore a folder when you have made uploads?

I'm with a project in Django where I need git to stop looking at the pycache folders and migrations of the different applications I have. I have modified the gitignore to add all the routes I want to ignore but apparently if you have alread...
asked by 15.10.2018 / 13:38
1
answer

Clone bulk git repositories

Is there a script that allows me to clone more than 100 git repositories at the same time? For example: https://github.com/Geovation/wifispy/ https://github.com/wlanslovenija/wireless-info https://github.com/stef/wireless-radar/ https://github...
asked by 16.10.2018 / 13:01