Main Menu

git checkout how-to for Linux

Started by 38PTSWarrior, August 23, 2014, 01:24:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Riverhead

Quote from: xeroc on August 24, 2014, 11:26:47 AM
Quote from: 38PTSWarrior on August 24, 2014, 10:08:55 AM
I found a funny interview where Linus Torvalds talks about git :D
http://typicalprogrammer.com/linus-torvalds-goes-off-on-linux-and-git/
QuoteI'm not sure. It's getting hard to predict the next technology fashion. I have a text editor I've been using myself that is so complicated it makes VIM look like Notepad — maybe I'll release that.
Wait what??


LOL. I thought text editing was solved. Does it display text in three dimensions so you can literally fork a line of thinking?

xeroc

Quote from: 38PTSWarrior on August 24, 2014, 10:08:55 AM
I found a funny interview where Linus Torvalds talks about git :D
http://typicalprogrammer.com/linus-torvalds-goes-off-on-linux-and-git/
QuoteI'm not sure. It's getting hard to predict the next technology fashion. I have a text editor I've been using myself that is so complicated it makes VIM look like Notepad — maybe I'll release that.
Wait what??

38PTSWarrior


xeroc


The number (or at least the first digits of it) is located on the left side of the release below the tag that says 0.4.7

archLinuxUser

Cool!  Thanks for the info!

Quote from: bitder on August 24, 2014, 05:47:33 AM
You are running 0.4.7
The about output shows that it's commit 987d55167097aceab2fdf7ba98bc6ff0c255378d which is tagged in the git repo as 0.4.7
You can use gitk to view the commits and tags.



Quote from: archLinuxUser on August 24, 2014, 05:16:37 AM

I asked in another thread, but I think this is the appropriate thread to ask in.

How can I find out if I'm running the 0.4.7 client on Arch Linux OS?

I had just built from git about 10 minutes ago and I can't seem to see the version 0.4.7 anywhere.  I don't have good eyes, so it could be I'm just missing it.


>> about

{
  "bitshares_toolkit_revision": "987d55167097aceab2fdf7ba98bc6ff0c255378d",
  "bitshares_toolkit_revision_age": "27 hours ago",
  "fc_revision": "578527626cccf691e87e4f24e1ad5f4ef45fe084",
  "fc_revision_age": "54 hours ago",
  "compile_date": "compiled on Aug 23 2014 at 21:51:59"
}


bitder

You are running 0.4.7
The about output shows that it's commit 987d55167097aceab2fdf7ba98bc6ff0c255378d which is tagged in the git repo as 0.4.7
You can use gitk to view the commits and tags.



Quote from: archLinuxUser on August 24, 2014, 05:16:37 AM

I asked in another thread, but I think this is the appropriate thread to ask in.

How can I find out if I'm running the 0.4.7 client on Arch Linux OS?

I had just built from git about 10 minutes ago and I can't seem to see the version 0.4.7 anywhere.  I don't have good eyes, so it could be I'm just missing it.


>> about

{
  "bitshares_toolkit_revision": "987d55167097aceab2fdf7ba98bc6ff0c255378d",
  "bitshares_toolkit_revision_age": "27 hours ago",
  "fc_revision": "578527626cccf691e87e4f24e1ad5f4ef45fe084",
  "fc_revision_age": "54 hours ago",
  "compile_date": "compiled on Aug 23 2014 at 21:51:59"
}

wallet_account_set_approval delegate.bitder 1

archLinuxUser


I asked in another thread, but I think this is the appropriate thread to ask in.

How can I find out if I'm running the 0.4.7 client on Arch Linux OS?

I had just built from git about 10 minutes ago and I can't seem to see the version 0.4.7 anywhere.  I don't have good eyes, so it could be I'm just missing it.


>> about

{
  "bitshares_toolkit_revision": "987d55167097aceab2fdf7ba98bc6ff0c255378d",
  "bitshares_toolkit_revision_age": "27 hours ago",
  "fc_revision": "578527626cccf691e87e4f24e1ad5f4ef45fe084",
  "fc_revision_age": "54 hours ago",
  "compile_date": "compiled on Aug 23 2014 at 21:51:59"
}

xeroc

Ah .. I know see your issue ..

git pull origin master
is what you want to do
or even better
git pull origin 0.4.7


xeroc

get the repo first:

git clone https://github.com/dacsunlimited/bitsharesx.git

once you have it you can update it with
git pull

38PTSWarrior

When I do git pull this comes:

bitsharesx$ git pull
You are not currently on a branch. Please specify which
branch you want to merge with. See git-pull(1) for details.

    git pull <remote> <branch>


Should I put something after git pull?

Riverhead



Quote from: svk on August 23, 2014, 01:45:22 PM

I compile only the client, using "make bit shares_client"

Will that capture changes in the tool kit?

Riverhead

Go to your source directory of your previous version (mine is/home/river/github/bitsharesx) and type:
git pull
This just pull the delta
git checkout 0.4.6
./setenv.sh
git submodule init
git submodule update
cmake .
make

38PTSWarrior

You gave me some good info, thx!
I could not wait for an answer and started already, almost at the 78% peak..

Next time I will use your tips. I guess it saves tons of time to only make bitshares_client.

svk

Quote from: 38PTSWarrior on August 23, 2014, 12:59:16 PM
Thanks, so now I will update to 0.4.7 by doing:

Delete bitsharesx and everything but the wallet folder of BitShares X (I have made a wallet backup with wallet_export_to_json <json_filename>)

Go to terminal
git clone https://github.com/dacsunlimited/bitsharesx.git
cd bitsharesx
git checkout 0.4.7
git submodule init
git submodule update
cmake .
make

Correct?
I do the same thing, except for deleting the old directory. I clone into a new one with the version name, and keep the old one for a while just in case..

I compile only the client, using "make bit shares_client"
Worker: dev.bitsharesblocks