Questions tagged as 'git'

0
answers

How to export files modified with GIT Windows

How can I export all the modified files in a .zip. I need it to be between a range of commits for example between the initial commit and the head. I found some codes and I've tried a lot but it really does not work for me. I leave an example of...
asked by 27.03.2018 / 00:50
0
answers

git reset --merge and reset --keep

Trying to dig deeper into git I found a couple of options in git however after reading the documentation and researching on my own I can not fully understand how they work and what exactly the following commands do git reset --merge <commi...
asked by 29.11.2017 / 19:47
1
answer

Return to the state before git stash

Recently I discovered that git stash pop does not work as I expect / desire. git stash pop merges between the current state and what's in the most recent stash. I would like to have a command or script that would return me to the pre...
asked by 04.03.2017 / 11:03
2
answers

How do I ignore a directory for pull?

I am presented with the following situation: I have a system that works with apache and php, I use style sheets in less, to simplify I have a folder structure like this: rootDir/index.php rootDir/img/ rootDir/css/ rootDir/less/ rootDir/js/...
asked by 11.05.2018 / 22:40
1
answer

Problem author name in remote repository

I'm working with Git on MAC , from terminal and I get a different author name than expected in the remote repository when I do pushes . I have configured my name in the global configuration, repository, system Git , as user.name and aut...
asked by 14.12.2017 / 12:23
1
answer

Do push in two different repositories

Is there a way to push two different repositories? I explain. I'm doing a course on programming at work and the code I publish in the official repository of the company, but I would like that same code to be published in my personal repository....
asked by 30.11.2018 / 13:23
1
answer

New Git repository from another

I have a Git 'git1' repository that has about 35,000 commits. I need to create a new repository 'git2' that contains the last 1,000 commits of git1, is there any way to do this ?? Thanks in advance.     
asked by 04.12.2017 / 23:34
1
answer

Allow the .gitignore file to upload a folder with the files it has inside

The routes are /storage/app/public/employees and /storage/app/public/projects , en /storage/app/public I have the file .gitignore. How can I do to ignore everything except those two folders?     
asked by 23.10.2017 / 17:09
2
answers

Consultation about git

I have a remote repository link In the same host where I am located I had created the repo and pusheado, I asked for the nickname and password and I could click. Clone the repo link on the same host, modify some things and pusheo (but...
asked by 22.09.2016 / 15:13
1
answer

Deploy Django to Heroku - Push rejected

I'm trying to deploy a Django app in Heroku. When I execute the git push heroku master command the following appears: (uleague) ➜ pickapp git:(master) ✗ git push heroku master Counting objects: 195, done. Delta compression using up to 8...
asked by 18.03.2016 / 21:57