Grokbase
Topics Posts Groups | in
x
[ help ]

Re: Git for perforce users

View PostFlat  Thread  Threaded | < Prev
A. Pagaltzis Re: Git for perforce users
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
* Yuval Kogman <nothingmuch@woobling.org> [2008-09-04 16:20]:
> C<git help> lists common commnads
                              ^^^^
Typo.

> =head3 delete
>
> C<git rm>

Note: this is not mandatory. You can actually delete the file in
any way you like, like plain old `rm`, as long as you update the
index to denote this, eg. with `git add -u`. Using `git rm` just
integrates both parts of the process into a single step.

> C<git pull> fetches changes and merges them using C<git rebase>.

*cough* *sputter* Whuh…? No, it uses `git merge`. Of course you
can tell `git pull` to rebase using the `--rebase` switch, but
this is explicit, as it should be, because rebasing rewrites
history, whereas merging does not.

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread : Git for perforce users
1)
Yuval Kogman One of the todo items was a cheat sheet for the current perforce commands. Thanks especially to...
2)
Rafael Garcia-Suarez 2008/9/4 Yuval Kogman <nothingmuch@woobling.org>: Well, no. git pull merges using git merge; C<git...
3)
Yuval Kogman This should also link to http://www.perforce.com/perforce/doc.081/manuals/cmdref/ Where should such...
4)
A. Pagaltzis Typo. Note: this is not mandatory. You can actually delete the file in any way you like, like plain...
spacer
View PostFlat  Thread  Threaded | < Prev
Home > Groups > Perl 5 Porters > Git for perforce users (4 posts) > View Post