Is it possible to do following? Make git rebase –interactive to just output standard boilerplate to a file, instead to outputting to a file and opening it in editor. Let the user edit the file. Let user re-run git rebase with the name of edited file. Go on with the usual rebase process. Usecase: scripted […]
I forked a project on github and am successfully making changes to my local master and pushing to origin on github. I want to send a pull request, but only want to include the last commit. The pull request UI on github.com shows the last 9 commits and I don’t know how to filter that […]
How can I make a new commit and create a new message if no changes are made to files? Is this not possible since the commit’s code (SHA ?) will be the same?
Context A number of my application user configuration files are kept in a git repository for easy sharing across multiple machines and multiple platforms. Amongst these configuration files is .gitconfig which contains the following settings for handling the carriage return linefeed characters [core] autocrlf = true safecrlf = false Problem These settings also gets applied […]
I’m confused about what’s the correct way to ignore the contents of a directory in git. Assume I have the following directory structure: my_project |–www |–1.txt |–2.txt |–.gitignore What’s the difference between putting this: www And this? www/* The reason I’m asking this question is: In git, if a directory is empty, git won’t include […]
I have inherited a git repository containing multiple projects in separate directories. I’d like to split the repository into new individual repositories, one for each project and then have the master repository contain the projects as submodules. I’d like to do all this whilst maintaining the revision history of the individual projects if possible. I […]
A project on GitHub that I have a fork of has a new pull requests that I want to pull into my fork that the author has not pulled in yet. Is there a simple way to apply pull request from other forks into my fork? Is there something else here that I am missing?
This question already has an answer here: Make the current commit the only (initial) commit in a Git repository? 13 answers
Possible Duplicate: Is there any way to clone a git repository’s sub-directory only? I’m trying to clone parts of a github project but I can only get the root folder. This is the first time im trying to use github and I just installed tortoisegit, im used to svn and cvs where you could just […]
I have a git repository that’s used only to hold graphics and sound files used in several projects. They are all in one directory without sub-directories. Now I just created a script to copy these assets over from another, structured directory, with several levels of sub-directories. Now I only want the (source) hierarchical file structure […]