CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

how to use github to backup/track customized OF src/app/case files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2017, 15:33
Default how to use github to backup/track customized OF src/app/case files
  #1
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Hi Forum,

I hope this thread is in its correct location. We know that mutil official OpenFOAM files of different versions live at github and this makes great sense for users with different needs.

I work with OF-2.3.0 on ubuntu and have developed my own project userName-2.3.0 which includes src/ & application/ & run/ & platforms/ directories, just as the official OF-2.3.0's structure.
Now I want to backup/track my project files in userName-2.3.0 and upload them to github so that everytime I change my own files I could track the changes and pull the updated files to another workplace. So my questions would be:
(1) how to only upload userName-2.3.0 files to github without the official OF-2.3.0?
(2) how to track changes of my project userName-2.3.0 if I changed my code locally on ubuntu?
(3) how to pull only userName-2.3.0 files from github without the official OF-2.3.0 to another workplace? (if I want to use my project on another ubuntu with OF-2.3.0 installed and compiled)

I searched a lot on this but could only find: https://olesenm.github.io/2009/11/12...nFOAM-and-git/
&
http://petebachant.me/track-changes-...iles-with-git/
&
https://www.cfdengine.com/blog/meet-...oam-lifesaver/
.
Could someone kindly offer a step-by-step tutorial on how to do this? I think this would be great for most OF users whether or not facing the same situation.

Thanks in advance.
/Karekle
cfdopenfoam is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting ANSYS CFX files to Fluent files Martin S. Rasmussen FLUENT 3 January 30, 2007 15:08
Problems with result files Kasper CFX 5 December 14, 2006 02:41
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
[making animations] fclose fails to close files? Mika FLUENT 0 March 30, 2001 08:19
Merging .msh files in TGrid Raza Mirza FLUENT 2 January 18, 2001 18:09


All times are GMT -4. The time now is 05:52.