Re: Plans for git (was: Please check the current beta git conversions)

Klaus Cucinauomo via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
> 
> Am 05.09.2020 um 06:48 schrieb bob prohaska <[email protected]>:
> 
> ….
> If anybody can offer an amateur’s tutorial it would be
> most helpful. ….
..
> Thanks for reading,
> 
> bob prohaska


Hi Bob,

Here`s a starting point as an „amateur"-tutorial for you:
Open a Web-Browser ,
Login into your git-account
Search the freebsd-git mirror(it’s read only for the public) in the search field in the upper left corner.(all GitHub)
Click  on it
Than click FORK on the right side .
Now you have your own copy where you can change the sources if needed 
(e.g. directly in the Web-browser).
That is the repo you will clone onto your target machines as mentioned in Warner`s prepared tutorial :
git clone -b (while b is the branch, let’s say normally it is : master), without the -b flag you would 
Copy all branches(you don’t need them all)
If you make changes in the sources:
git pull / git push
For later(advanced):
If you reach the "merge - conflict - area“ you can do a : git reset hard (to commit number)
You can set the original Fbsd-repo git repo as the remote , while your local copy is mostly called : origin
...git remote add … (useful if you want to synchronize your local copy with updated src)
Writing patches which can go to Phabricator I guess is not your intention for now.
For Desktops there is a git desktop version, which I use sometimes to revert single-patches and synchronize upgraded sources from local to remote ,
otherwise I find that Desktop-tool  quite useless :-)
Unknown for me if Fbsd will accept PRs(PullRequests) from the public in the near future…
The „issues“ - tab is for discussing bugs..

So for the beginning: just click Fork and clone the master-brach of YOUR Fbsd-copy onto your target machine..

This is written in 3 minutes out of my head, a bit chaotic :-) and misses details( the web is full of tutorials, some good and some useless ;-)..

Regards

Kls



_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.