|
haywire posted:Anywho, I'm having a bit of an issue with git, basically every time something gets pulled from a repo, git resets the permissions to rwxr--r-- which sucks, because the group (users) needs to be able to work on the files. Why is this happening? How can I stop it? Edit: Apparently I'm wrong and that only applies to the files in the repository itself. Oh well. welcome to hell fucked around with this message at 09:25 on Sep 25, 2009 |
# ¿ Sep 25, 2009 08:46 |
|
|
# ¿ May 7, 2024 23:59 |
|
Unless you want to edit git-svn's binary rev_map files, filter-branch will break git-svn. I've done it, but wouldn't recommend it. Trying to have people use both systems at the same time is going to be problematic, as a repo meant for use with git-svn is going to look rather different from one meant to be a full conversion. Creating a good conversion of a repository is likely to involve a bit of history rewriting to match git's world view. You also won't want git-svn's ugly revision markers on all of the commit messages. Doing any of that will mostly break git-svn.
|
# ¿ Jun 3, 2010 17:48 |
|
SourceForge isn't a terrible choice for distributing software packages, but you'd be insane to use it for anything else.
|
# ¿ Mar 7, 2012 05:16 |
|
oiseaux morts 1994 posted:Unless the diff is not an accurate representation of how it's stored under the hood oh lawd thinking too much about this
|
# ¿ Nov 14, 2013 23:09 |
|
oiseaux morts 1994 posted:Commits are immutable with the exception of perhaps the metadata like date, or author. oiseaux morts 1994 posted:Checking out a branch just moves HEAD to the same commit as this new branch pointer. oiseaux morts 1994 posted:3. Does reordering commits mean anything beyond being a tool to make the log look how the developer wants? If we have a tree like: There are a couple mistakes in your last question. First, the rewritten history would be C2', C3', C4', C1'. Parent commits are part of the commit data, so if they change you get new commits. Second, a git log would follow the parent relationships for order. The date is only used when you have parallel branches. git log also has a bunch of options for how to order its output. Git commits actually contain two timestamps, an author timestamp and a committer timestamp. They start out the same, but during a rebase the author timestamp will be left unchanged and the committer timestamp will be updated.
|
# ¿ Nov 15, 2013 09:19 |
|
oiseaux morts 1994 posted:But we can go back to a specific commit, and change date, author, commit message, right? Does that mean the original is deleted and a new commit is made? If so, then what if said original commit is a parent of another commit? quote:So in the below case, if it isn't the timestamp that defines the order, what is the nature specific to one of the parents of C6 (either C4 or C5) that determines the order? Sure, 5 is greater than 4 in this example, but they're just labels in this case, they could easily be called * and / and have no inherent order. Or do the parent attributes for the commit object contain some hitherto unknown information, or is it a property of the graph structure in some way?
|
# ¿ Nov 15, 2013 11:48 |
|
Marsol0 posted:Almost. git commit -a will include untracked files as well, while git add -u; git commit will only include tracked file.
|
# ¿ Nov 27, 2013 09:17 |
|
|
# ¿ May 7, 2024 23:59 |
|
Empty repos are a special case that git does handle, and will normally allow you to clone. They don't have any branches or commits though, so they don't always behave as you might expect. It's just more straightforward (and possibly more backward compatible) when you clone a repo with real branches/commits. Also, github displays readme files directly below the file listing on the main repo page, so they encourage you to have some form of readme no matter how you create the repo. When creating new repos I prefer to initialize it and commit locally, then create the repo on github and add that as a remote. But it all amounts to the same thing in the end.
|
# ¿ Nov 30, 2013 08:17 |