"git - the simple guide" : https://rogerdudler.github.io/git-guide/
(Geared toward GitHub but still applicable and quite simple.)

"Understanding Git Conceptually" : https://www.sbf5.com/~cduan/technical/git/

"Pro Git" : https://git-scm.com/book/en/v2
(More comprehensive since it's an online HTML book.)


--
Lee


On 08/23/2017 08:56 AM, Jussi Lahtinen wrote:
Thanks for all the answers. I was hoping something more automatic. I find
these commands:
git fetch --all
git reset --hard origin/master

Are there any side effects? I don't really know how git works and thus I
don't quite understand what they do. I should learn the basics, but it
seems to be thing which I have problems to concentrate. Anyone knows good
graphical presentation of how git works in principle?


Jussi


On Wed, Aug 23, 2017 at 3:03 PM, PICCORO McKAY Lenz <mckaygerh...@gmail.com>
wrote:

yeah, but with statch you need firs made it a "mark"

i that case he dont have that mark

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-08-23 5:37 GMT-04:00 Fabien Bodard <gambas...@gmail.com>:

or maby statch ?

2017-08-23 2:29 GMT+02:00 PICCORO McKAY Lenz <mckaygerh...@gmail.com>:
sorry to overriding local change u must get back :

git checkout -- <file-to.override-or directory>
git fetch;git pull

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-08-22 16:38 GMT-04:00 Jussi Lahtinen <jussi.lahti...@gmail.com>:

How do I update sources overwriting local changes?


Jussi

On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen <
jussi.lahti...@gmail.com

wrote:

OK, that solves the problem. Thanks!


Jussi

On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz <
adrien.prokopow...@gmail.com> wrote:

Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen <
jussi.lahti...@gmail.com> a écrit:

How do you get the change log with git? "git log" shows only one
change
(most recent?).
Is this because I cloned the sources with "git clone --depth=1
https://gitlab.com/gambas/gambas.git";?

Even when I want only the latest dev version, I would still like
to
know
what has changed. It's quite important if you do bug hunting.


Jussi


Yes, when you use --depth=1, you only retrieve the latest commit,
so
it
can't know
about anything past it.
If you want to have the information locally, you can use the
following :

git fetch --unshallow

It will retrieve the missing pieces and you will end up with a full
clone,
as if you just ran git clone without the --depth argument.

You can also view the latest commits directly on gitlab here :

https://gitlab.com/gambas/gambas/commits/master

… or as a RSS feed here :

https://gitlab.com/gambas/gambas/commits/master?format=atom

If you have a Gitlab account, you can also configure it so it will
send
you
email notifications when something happens on the repository.


--
Adrien Prokopowicz

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Fabien Bodard

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to