Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 12 Dec 2018, 22:09
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Github and SmartGit
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [23 Posts]   Goto page: Previous 1, 2
Author Message
01micko


Joined: 11 Oct 2008
Posts: 8683
Location: qld

PostPosted: Mon 02 May 2016, 03:16    Post subject:  

BarryK wrote:
I presume that the same principles apply to woof-CE. Fork it first, to your own account. Then clone it.


Yep. Pretty much how git (not just GitHub) works in general. Although if not using a third party 'service' (such as GitHub or Bit-Bucket) it can get complex.

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
step

Joined: 04 May 2012
Posts: 1118

PostPosted: Mon 02 May 2016, 04:48    Post subject:  

With due respect, after the initial learning curve, I find using git commands from the shell easier than a GUI. Reasons:

1) If I want to undo an unwanted change the GUI is likely to make undoing the change harder rather than easier.
2) If I want to know how to do something a little bit more complex than the basic git operations, I need to look up the Internet - where advice and tutorials describe command-line git commands

If you're going to use github, their how-to's are pretty good too, especially when you need to know how to sync your local repo with the remote Github repo in unusual ways.

Specifically for browsing commit history and performing diff comparisons, I think a GUI-git-diff tool can be very useful. The standard git package provides gitk, and that's pretty good. I haven't searched for a better one, because I use vim with the vim-fugitive git plugin, which covers my needs.

_________________
Fatdog64-800|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3186
Location: The Blue Marble

PostPosted: Thu 05 May 2016, 07:17    Post subject:  

Quote:
The standard git package provides gitk, and that's pretty good

Agreed. And I just found out about "git-gui", which is also part of the standard git package too. It also uses Tcl/Tk, and while gitk is mainly for repository browing; "git gui" is meant for actually doing things like commit, branching out, merging, etc. It is surprisingly functional Very Happy

Like step, I prefer to use command line too, but to each his own, I suppose.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 4208
Location: Kiel,Germany

PostPosted: Fri 06 May 2016, 06:50    Post subject:  

I dislike " new " things .


GITHUB is smart enough .


It needs some lion to push through some enhancements against a hyena as mavrothal .

_________________
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal Razz
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8739
Location: Perth, Western Australia

PostPosted: Fri 06 May 2016, 07:59    Post subject:  

I am still enjoying using SmartGit. As I never used the commandline, beyond a simple "clone", I don't appreciate how better or worse it would be using just the CLI.

SmartGit really is clever, but I discovered a bug yesterday. When I edit a file, SmartGit automatically detects that and highlights it as "modified", or if I add a file, it gets highlighted and marked as "untracked". Then I can choose to commit them.

Anyway, the bug. I edited a file, in SmartGit there are two windows, one showing the earlier committed version, the other showing the actual file, with coloured areas to show the differences. Little arrows enable copying these different bits between the files, or deleting. Except that it doesn't work properly. I found that I really have to commit the whole file.

Then today, I got my nickers in a twist. There was a bug in recent commits that I had pulled from the remote repo, so I chose to "revert" them. It did, but oh dear, no way could I un-revert them.

Eventually, I did a checkout from an earlier revision, to a new local branch, that I named "master-2". Then I pulled later commits from the remote repo.

My lack of knowledge about git is partly to blame. But I wonder if I would have fared any better if I had been trying to do all of this from the CLI?

At least with the GUI, I was able to look around and discover how to fix my problem, didn't even need to go away and read up on arcane CLI operations Wink

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Fri 06 May 2016, 17:08    Post subject:  

I have to agree with Barry for 2 reasons: New users ease of understanding in a visual screen with helps AND the comfort of visually seeing the intent of what you are doing.

CLI has never given this, visually. (And I do recognize the ability of "all" uses of CLI, overall.) I do admit, EVERYTHING has shortcomings; whether screened uses or CLI.

This type of approach, Barry is showing, is very useful delivering a useful level of clarity.

+1

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8739
Location: Perth, Western Australia

PostPosted: Fri 23 Jun 2017, 07:12    Post subject:  

The return of SmartGit! Very Happy

http://barryk.org/news/?viewDetailed=00576

I wanted to make my work with OpenEmbedded available to everyone, and decided that github is the way to go.

Due to prior reasonably positive experiences with SmartGit, I have installed it on my PC. So far, working well.

I create a new 'oe-qky-src' repo on github, then in SmartGit cloned it, then copied in my local files, committed and pushed them. That all went well, intuitively.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Tue 16 Jan 2018, 17:01    Post subject:  

Couple of primers on Git

https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners

https://guides.github.com/activities/hello-world/
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 2 of 2 [23 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0764s ][ Queries: 13 (0.0310s) ][ GZIP on ]