When you do a github fork, you get a copy of all branches in the src
repo as of the moment of fork, and then they never get updated unless
you do it manually, and you never get any new branches.
I've been looking at ways to do this. The best I've found so far is:
#!/bin/sh
# usage:
On Thu, Jun 6, 2013 at 3:42 PM, benoît person benoit.per...@gmail.com wrote:
From what I know, git does not support branch permissions. The best
way to deal with that kind of permissions-thingy is to create two
repos : a main repo and a fork for your new developer. He would only
have
On Thu, Jun 6, 2013 at 6:39 PM, robe070 goodridge@gmail.com wrote:
One of the issues with our source code is that there is one file that is
critical to our development. If its changed in our working directory then
the entire solution needs to be re-built. We currently avoid this and
On Sun, Jun 9, 2013 at 6:39 PM, benoît person benoit.per...@gmail.com wrote:
On 10 June 2013 03:09, robe070 goodridge@gmail.com wrote:
Different branches or submodule won't work. The change to A and CRIT will be
required soon - but at the request of the receiver, not forced upon you by
On Sun, Jun 9, 2013 at 7:43 PM, robe070 goodridge@gmail.com wrote:
Whats an 'fs clone'?
sorry, real name is git clone --local, it does hardlinks by default so
doesn't copy anything.
--
You received this message because you are subscribed to the Google Groups Git
for human beings group.
To
On Tue, Jun 18, 2013 at 2:42 PM, Dyske Suematsu dys...@gmail.com wrote:
Currently I manage them with SVN. The original, generic site is in the
trunk and for each new client, I create a branch. If I make a change to
the trunk that needs to be propagated to all the branches/sites, I just run
svn
You have interleaved your changes with others on master? If so, yes,
you should have done on a branch.
You can cherrypick them all to a branch, and rebase master... but
probably noone will thank you for that :-)
--
You received this message because you are subscribed to the Google Groups Git
/bin/sh script with no bash specifics... IMO.
set -e at top to make it bail if any command errors. you can even call
it git-do-my-thing and install in your path, so its possible to call
git do-my-thing from the command line, it will look like a git
command (obviously, use a better name.. :-).
--
I don't see anything in the docs (other than a gui.pruneduringfetch).
I'd be OK with a global default, I think I want this always, but a
per/remote option for .git/config would be nice to.
Have I missed this somewhere?
Sam
--
You received this message because you are subscribed to the Google
On Fri, Aug 9, 2013 at 12:04 AM, Thomas Ferris Nicolaisen
tfn...@gmail.com wrote:
What I would like to know is:
Is this at all possible?
If so, can someone point me in the right direction?
git replace:
basically, I've got clones of some expensive-to-build projects
(node.js), and I have changes that I want to rebase/cherry-pick onto
dev and stable branches.
I know I can push to a remote, then pull into my other, and keep the
two on different branches so the builds don't get out of date. But, I
I don't think you can add desciptions to files, though you can add
notes to commits:
http://alblue.bandlem.com/2011/11/git-tip-of-week-git-notes.html
You have a pretty specific work-flow, I don't think any tool is going
to do this out of the box, much less have IDE integration, but using
git
the application.
Le mercredi 21 mai 2014 02:21:42 UTC+2, Sam Roberts a écrit :
I suspect there is an easy way to do this, because every git commit is
an object that references a tree object that contains a complete
source tree. I just want to take the tree that is at the head of
branch SRC, and make
On Tue, May 20, 2014 at 7:00 PM, Pierre-François CLEMENT
lik...@gmail.com wrote:
Okay then, in that case what you need is the --squash option of git-merge.
--squash, --no-squash
Interesting idea, but I don't think it will work, since I don't want
any of the build products from the last commit
On Wed, May 21, 2014 at 9:08 AM, Bob Hiestand bob.hiest...@gmail.com wrote:
It seems strange to use git (or other VCS) to store build products.
Seems so, but Heroku, openshift, etc., all accept or require runnable
apps to be git pushed. I don't want build products in the dev src
tree, of course,
On Wed, May 21, 2014 at 9:08 AM, wbo...@metzler.com wrote:
Perhaps the following command sequence works for you
This looks like a good start, too, thanks everybody.
Sam
--
You received this message because you are subscribed to the Google Groups Git
for human beings group.
To unsubscribe
I suspect so, and am searching around, but no luck so far.
Its mostly cosmetic, but would simplify my scripting a bit.
Thanks,
Sam
--
You received this message because you are subscribed to the Google Groups Git
for human beings group.
To unsubscribe from this group and stop receiving emails
I'd like to see the addition of a `git remote prune --all` command
option, or something similar.
How is this different from `git fetch --all --prune`?
--
You received this message because you are subscribed to the Google Groups Git
for human beings group.
To unsubscribe from this group and
There are shorthands for going back from HEAD, but not for the initial
commit, AFAICT.
I often want to do this when rebasing, and have come to tagging the
initial commit in my repos with INITIAL.
Is there a better syntax I'm missing?
--
You received this message because you are subscribed to
On Sat, Sep 13, 2014 at 1:40 AM, Konstantin Khomoutov
flatw...@users.sourceforge.net wrote:
git-rebase supports the --root [BRANCH] command-line option to refer
to the root commit of the current (or specified) branch. See [1] for more
info.
Exactly what I wanted, thank you, Konstantin.
Sam
Basically, I'd like to delete every branch in my fork of an upstream
repo that is the same as an upstream branch.
With sufficient scripting, I can write something to enumerate and
compare branch heads, but I'm hoping someone knows of a tool that does
this, or can point me to some useful git
Thanks for your help, folks, you had very detailed responses, but I
was not clear enough, I am well aware of the difference between local
and remote.
I want to delete *remote* branches in repo A that are also in *remote* repo B.
I guess you two don't use github, but if you fork a repo that has
I need to temporarily add a set of text files that come from a unix
tar file, and I'm doing it on windows (temporarily, in that I intend
to push it to heroku).
I can't get around the LF will be converted to CRLF warning. The
problem is I don't control the format of the files I'm adding, I don't
I don't know anything about gerrit, but it looks like you did a git
pull when you should have done a 'git pull --rebase'. git pull
defaults to merging from the origin branch, that is your middle commit
0869, and that is almost always wrong.
rebase your branch onto master: git rebase origin/master
I want to get a list, relative to my current working directory (which
may be below the project root) of all files, including ones added with
`git add -N`, but not including any files not under version control...
git ls-files almost works... but only lists files from . down. Is
there a simple
Thank you! I arrived at this to re-run a command (often unit tests)
when any git-controlled file changes:
```
#!/bin/sh
set -e
git ls-files $(git rev-parse --show-cdup) | entr -cr $@
```
--
You received this message because you are subscribed to the Google Groups Git
for human beings group.
To
26 matches
Mail list logo