• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

git save contents of git window

 
Ranch Hand
Posts: 170
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I could not find a better place to put this question[size=24] [/size]

I am working in a git window.   I want to keep a copy of what my teacher showed me.  Is there a command to send the contents of the git window to a file?

Thanks,

Kevin
 
Marshal
Posts: 72048
312
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can try adding you to our Version Control forum.

You can probably use ctrl‑A→ctrl‑C, but why? The whole idea of the version control program is that it records not only the state of your documents when you commit them, but also whatever description you wrote about the changes. So you can find all that information by going back through your history, and you can reload old versions of whatever you wrote. It is all saved in files wherever you decided to put them. So what is the point of your saving all that information to a separate file?
If you use a web‑based Git system, e.g. GitHub, GitLab, all the saving will be done for you and the web company will take care of your files.
 
kevin Abel
Ranch Hand
Posts: 170
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I cannot remember the git command names so I keep having to look at how my manager did this before.  It is a repetitive thing but I keep forgetting what the commands are and what order we do them.  I started to get accustomed to SVN.  Then along came git and I get mixed up.  
Yes please move this to the version control forum.   I looked through the forums and did not see it on our ranch.
 
Campbell Ritchie
Marshal
Posts: 72048
312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't your company have a book? I have a simple introduction to Git: Amazon link.
 
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic