<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
In my UNIX days we did not use RCS. The UNIX box was experimental
and was not used for development.<br>
However, reaching back in my distant memory the RCS version numbers
would not have any bearing on branches.<br>
(Caveat: This might be specific to a particular organization.)<br>
<br>
Let's refer to the diagram I provided earlier.<br>
This time we will let A B and C be defined by distinct product /
part number identifiers.<br>
And we will let the + signs denote development milestones aka
versions within each stream.<br>
The + signs aka versions in one stream do not have anything to do
with the versions in other streams.<br>
Baseloads from one stream to the next are taken at a development
milestone aka version.<br>
<p><tt><br>
</tt></p>
<p><tt>A +-----+-----+-----+-----+......| EOL</tt><tt><br>
</tt><tt> |</tt><tt><br>
</tt><tt>B
+-------+-----+-----+-----+-----+-----+-----+-----+.....| EOL</tt><tt><br>
</tt><tt> |</tt><tt><br>
</tt><tt>C
+-------+------+------+------+-----+-----+-----+-----+.....| EOL</tt><tt><br>
</tt></p>
<p><tt>(use fixed width font for this diagram)<br>
</tt></p>
<br>
JohnJ<br>
<br>
<div class="moz-cite-prefix">On 2/14/2018 16:20, Federer Fanatic
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAwvWVrFnhV2baGYFf1du_7-A=zKrPcHAxkvx-hF31nFd882HA@mail.gmail.com">
<div dir="ltr">I have a query about how one can adapt familiarity
of RCS usage to Git usage. My impression is that version
numbers
<div>like RCS can be simulated using "branches" in git? I
haven't used Git much beyond pulling interesting source code.</div>
<div><br>
</div>
<div>FF</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature" data-smartmail="gmail_signature"><br>
<br>
<br>
--------------------------------------------------------------<br>
Roger Federer Fanatic Extraordinaire :-)</div>
</div>
<br>
<div class="gmail_quote">On Wed, Feb 14, 2018 at 11:06 AM, Adam
Glauser <span dir="ltr"><<a
href="mailto:adamglauser@gmail.com" target="_blank"
moz-do-not-send="true">adamglauser@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks for sharing this John. For what it's
worth, I've been using Git for years now, and I strongly
prefer the CLI over any GUI I've used. That being said, I
do use GUI tools for certain operations. For example, see
`git mergetool`. My preferred tool is KDiff3 (which is
available on the other OS as well).
<div><br>
</div>
<div>My approach to your problem is to use environment
variables. An advantage of this approach is that you can
then refer to those paths in a variety of use cases.</div>
<div><br>
</div>
<div># ~/.profile</div>
<div>export P_A_DIR=<span style="color:rgb(33,33,33)">/c/Users/user/<wbr>projects/project</span><span
style="color:rgb(33,33,33)">A</span></div>
<div>export P_B_DIR=<span style="color:rgb(33,33,33)">/c/Users/user/<wbr>projects/projectB</span></div>
<div><br>
</div>
<div>You can then do things like:</div>
<div>$ cd $P_A_DIR<span style="color:rgb(33,33,33)"><br>
</span></div>
<div>$ diff $P_A_DIR/path/to/file $P_B_CODE/path/to/file</div>
<div><br>
</div>
<div>In particular, I find this handy for referring to
locations on remote boxes, where I may not be able to
use aliases or remote env. vars. easily.</div>
<div>$ scp $P_A_DIR/path/to/file
user@server:$P_A_TEST/path/to/<wbr>file</div>
<div> or</div>
<div>$ scp $P_A_DIR/path/to/file
user@server:$P_A_RELEASE/path/<wbr>to/file<br>
</div>
<div><br>
</div>
<div>Hope this helps,</div>
<div>Adam</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Feb 14, 2018 at 10:36 AM John
Johnson <<a href="mailto:jvj@golden.net"
target="_blank" moz-do-not-send="true">jvj@golden.net</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Update<br>
A while ago I was informed about the use of alias
command.<br>
My Bad: I had forgotten about the alias command, as I
used it back when<br>
was UNIX sysadm, many eons ago.<br>
<br>
While my application is not in Linux what I have shown
below shows how I<br>
am using the alias command with the git command window.<br>
The same can apply to Linux.<br>
<br>
In the other OS, I have placed .bashrc (shown below) in
the git home<br>
directory /c/Users/user/.<br>
I have a number of projects, each with their own
development directory<br>
and git repository.<br>
In the git command window, I use the alias commands
shown below to<br>
define shortcuts that will put me in the development
directory for the<br>
current project.<br>
<br>
# .bashrc<br>
# created 20180211<br>
alias cdprojectA="cd /c/Users/user/projects/<wbr>projectA"<br>
alias cdprojectB="cd /c/Users/user/projects/<wbr>projectB"<br>
alias cdprojectC="cd /c/Users/user/projects/<wbr>projectC"<br>
# done<br>
<br>
Next: Study & use the git control files: .gitignore
and .ignore.<br>
<br>
And yes! At this time, I prefer to use git from the
command line window.<br>
Using the git gui will come later.<br>
<br>
JohnJ<br>
<br>
<br>
______________________________<wbr>_________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank"
moz-do-not-send="true">kwlug-disc@kwlug.org</a><br>
<a
href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://kwlug.org/mailman/<wbr>listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote>
</div>
<br>
______________________________<wbr>_________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" moz-do-not-send="true">kwlug-disc@kwlug.org</a><br>
<a
href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://kwlug.org/mailman/<wbr>listinfo/kwlug-disc_kwlug.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
kwlug-disc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a>
<a class="moz-txt-link-freetext" href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a>
</pre>
</blockquote>
<br>
</body>
</html>