During the war, an officer could hold as many as four differnet ranks at the same time.
"During the American Civil War regular United States Army officers sometimes had up to four different ranks.
First they had their "permanent" rank in the regular army. In addition, however, they could also hold either
(or both) a rank in the volunteers or brevet rank (regular army and / or volunteers). Thus a single officer could
hold a permanent rank of major in the United States army, and at the same time hold the rank of colonel of
volunteers, a brevet rank of colonel in the army, and a brevet rank of brigadier general in the volunteers."
http://www.4thuscok.org/notes/ranks.html
-