TamirEliav / hello-world

Learn how to use GutHub :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello-world

Learn how to use GitHub :)

This is my first project I'm using Git. I used to work with Mercurial so far, let's see how it goes... :)

I have cloned the repo in my using MATLAB Let's try to commit this change!

I managed to commit and push my previous comment to GitHub repo!! Let's find out if commit was to the LOCAL repo (Git) and the push did the update in GitHub!

To avoid re entering the username / password each time, I'm using the git wrapper for MATLAB: https://www.mathworks.com/matlabcentral/fileexchange/29154-a-thin-matlab-wrapper-for-the-git-source-control-system The git wrapper is using the git installed in my PC to communicate with GitHub, and it has my credinals.... There is another option to solve this (and use the build-in MATLAB interface), which is to use SSH, but that seems to much effort... Note: you should first enter the username/password to the git config in the local system, from the command line: $ git config --global user.name "John Doe" $ git config --global user.email johndoe@example.com Then, the first time you try to use the push command, a window will popup and you should enter your username/password (which will be saved for later use).

I managed to configure the external diff tool bc3 (see here: https://stackoverflow.com/questions/2069490/git-diff-with-beyond-compare) Let's see if I can get a diff of the entire project at once!! I found this link: https://www.scootersoftware.com/vbulletin/showthread.php?7578-git-difftool-load-all-files-into-a-folder-compare-view It tells how to run full folder comparison (didn't tried yet!)

I now able to run diff on the entire project directory (using dir-diff), this is in my .gitconfig file [diff] tool = bc3 [difftool "bc3"] cmd = "c:/program files (x86)/beyond compare 3/bcompare.exe" -rro "$REMOTE" "$LOCAL" trustExitCode = true [alias] dif= difftool --dir-diff

I changed the files from GitHub interface and will commit the changes. Then I'll try to pull the changes from MATLAB.

nice workflow visualization: https://blog.osteele.com/2008/05/my-git-workflow/

Interactive workflow visualization: http://ndpsoftware.com/git-cheatsheet.html#loc=workspace

test

Today is a wonderful day

26/10/2020 smartgit test!

About

Learn how to use GutHub :)


Languages

Language:MATLAB 100.0%